'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});
var regNumber = /^\d+$/;
var isNumberString = exports.isNumberString = function isNumberString(str) {
    if (typeof str === 'number') {
        return true;
    }
    return regNumber.test(str);
};
exports.default = isNumberString;